package com.sumainfor.pc.market.feign.Zfeign;
import com.sumainfor.common.util.JsonResult;
import com.sumainfor.pc.market.fallback.ZfallBack.ZpcMarketFallback;
import com.sumainfor.pc.market.fallback.ZfallBack.ZwxTenantFeignFallback;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;
import java.util.Map;


/**微信端租客的服务
 */
@FeignClient(name = "tANGNEST-WX-TENANt", fallback = ZwxTenantFeignFallback.class)
public interface ZwxTenantFeign {
/*
     * 创建 工单的时候去 租客 端查询该手机号 的客户是否已经注册
     * @return*/

    @GetMapping("/key/ZfeignController/getTctenForTcmkt")
    JsonResult getTctenForTcmkt(@RequestParam (value="params") Map<String,Object> params);

   @GetMapping("/key/ZfeignController/getTenId")
    JsonResult getTenId(@RequestParam Map<String,Object> params);


}
